class WelcomeController < ApplicationController
  layout "common_layout"
# before_filter :layout_authorize
#  
#  def layout_authorize
#    @lay_out = "student_type"
##    case session[:user_type]
##      when "student"
##        @lay_out = "student_layout"
##      when "teacher"
##        @lay_out = "teacher_layout"
##      when "administrator"
##        @lay_out = "administrator_layout"
##    end
#  end
#  
#  layout @lay_out
  
 def welcome
   @account = session[:account]

 end
 
 
end
